package www.albertzhe.askForLeave.impl;

/**
 * 结果对象
 */
public class Result {
    // 最后结果
    public boolean isRatify;
    // 结果说明
    public String info;

    // 构造方法
    public Result() {
    }
    public Result(boolean isRatify, String info) {
        super();
        this.isRatify = isRatify;
        this.info = info;
    }

    // set... get...
    public boolean isRatify() {
        return isRatify;
    }
    public void setRatify(boolean isRatify) {
        this.isRatify = isRatify;
    }
    public String getInfo() {
        return info;
    }
    public void setInfo(String info) {
        this.info = info;
    }

    @Override
    public String toString() {
        return "Result [isRatify=" + isRatify + ", info=" + info + "]";
    }
}
